export interface IBaseParams {
  provinceCode?: string;
  cityCode?: string;
  countryCode?: string;
  industryCategoryCodeLv1?: string;
  industryCategoryCodeLv2?: string;
  industryCategoryCodeLv3?: string;
  pageNum?: number;
  pageSize?: number;
  searchTxt?: string;
  sortRule?: string;
  tagTypeCode?: string;
}

export interface IPermit extends IBaseParams {
  issuingEndDate?: string;
  issuingStartDate?: string;
  managementCategoryCode?: string;
  pollutionCode?: string;
  statusCode?: string;
}

/** 遗失 */
export interface ILoss extends IBaseParams {
  lossEndDate?: string;
  lossStartDate?: string;
}

/** 注销 */
export interface ICancellation extends IBaseParams {
  cancellationEndDate?: string;
  cancellationStartDate?: string;
}

/** 撤销 */
export interface IRevocation extends IBaseParams {
  revocationEndDate?: string;
  revocationStartDate?: string;
}

/** 登记 */
export interface IRegistration extends IBaseParams {
  registrationEndDate?: string;
  registrationStartDate?: string;
  changeTypeCode?: string;
}

/** 限期整改 */
export interface IRectification extends IBaseParams {
  isWithinRectificationPeriod?: number | string;
  issuedEndDate?: string;
  issuedStartDate?: string;
}

/** 执行报告 */
export interface IReport extends IBaseParams {
  reportType?: string;
  noticeDateStart?: string;
  noticeDateEnd?: string;
}
